//
//  FDAuthorization.h
//  FD
//
//  Created by Yasin on 2018/10/13.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FDAuthorization : NSObject
/**时间戳:注意 签名的时间戳一定要和 网络请求 请求头中的时间戳要保持一致，不然会报错 签名无效*/

//@property(nonatomic, copy) NSString *timeStamp;

//+ (NSString *)signatureWithAPI:(NSString *)api timeStamp:(NSString *)timeStamp;

+ (NSString *)authorizationWithToken:(NSString *)token apiStr:(NSString *)api timeStamp:(NSString *)timeStamp;
@end
